package com.sdx.console.base.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.base.entity.*;

/**
 * 消息管理 Dao
 */
@SqlResource("base.baseMessage")
public interface BaseMessageDao extends BaseMapper<BaseMessage>{
    public PageQuery<BaseMessage> queryByCondition(PageQuery query);
    public void batchDelBaseMessageByIds( List<String> ids);

    void setTop(List<String> ids, BaseMessage baseMessage);
}